﻿/* Generic page styles */
body {
    background-color: #ddf;
    margin: 0;
    font-family: 'Segoe UI', 'Lucida Grande',Verdana;
    font-size: 1em;
}

    body.cke_editable {
        background-color: white;
    }

table {
    padding: 0px;
    margin: 0px;
    font-size: 1em;
}

tr {
    padding: 0px;
    margin: 0px;
}

td {
    padding: 0px;
    margin: 0px;
    vertical-align: top;
}

a, a:visited, a:hover {
    color: #0000ff;
    text-decoration: underline;
}

div {
    font-size: 1em;
}

blockquote {
    background-color: #ddf;
    padding: 10px 20px;
    margin: 0px;
}

input[type=text], input[type=password], select, textarea {
    font-family: Verdana;
    font-size: 1.1em;
    border: 2px solid #999;
    border-radius: 6px;
    padding: 4px;
    width: 95%;
}

    input[type=text]:focus, input[type=password]:focus, select:focus, textarea:focus {
        border: 2px solid #99f;
        border-radius: 6px;
    }

    input[type=text].errorBox, input[type=password].errorBox, textarea.errorBox {
        border: 2px solid #ff0000;
        border-radius: 6px;
    }

    select[multiple] {
        width: 80%;
        height: 180px;
        border: 2px solid #999;
    }

input[type=file] {
    display: none;
}

input[type=checkbox] {
    outline: 1px solid #999;
}

input[type=button] {
    font-family: 'Segoe UI', Verdana;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    border: solid;
    padding: 8px 8px;
}


h1 {
    font-family: 'Segoe UI', Segoe, Helvetica;
    word-wrap: normal;
    line-height: 110%;
    font-size: 2em;
    font-weight: normal;
    word-spacing: 2px;
    margin: 6px 0 6px 0;
}

h2, h3 {
    line-height: 110%;
}

#page {
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
    text-align: left;
}

#header {
    color: #fff;
    font-family: 'Segoe UI', Segoe, Futura, Helvetica;
}

#middle {
    /* don't specify width with floating contents */
    margin: 0;
    padding: 0;
    background-color: lightgray;
}

#left {
    float: left;
    vertical-align: top;
    margin: 0;
}

#center {
    vertical-align: top;
    float: left;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

#footer {
    display: block;
    color: #fff;
    padding: 6px;
    text-align: right;
    font-family: Segoe UI, Verdana;
    font-size: 1em;
}

#headerTitle {
    margin: 0 0 0 50px;
    vertical-align: middle;
    padding-bottom: 10px;
}

.title-text {
    font-size: 2.5em;
    line-height: 130%;
    display: block;
}

.tagline-text {
    font-size: 1em;
    line-height: 130%;
}

#headerMenu {
    margin: 0 20px 0 0;
    font-size: 1.5em;
    vertical-align: middle;
    line-height: 300%
}

    #headerMenu ul {
        margin: 0px;
        padding: 0px;
    }

        #headerMenu ul li {
            list-style: none;
            display: inline;
            padding: 0 8px 0 8px;
        }

    #headerMenu a:link, #headerMenu a:visited {
        color: #fff;
        text-decoration: none;
    }

    #headerMenu a:hover {
        color: dodgerblue;
    }

.hidden {
    display: none;
}

div.success {
    color: Navy;
    margin-top: 10px;
}

div.error {
    color: Red;
    margin-top: 10px;
}

/* minimum content width = 550px */
pre.code {
    font-family: monospace, Consolas, Courier New;
    font-size: .9em;
    line-height: 100%;
    min-width: 480px;
    margin: 0px;
    padding: 0px 10px 14px 10px;
    background-color: #eeeeee;
    overflow-x: scroll;
}

pre.commentCode {
    font-family: monospace, Consolas, Courier New;
    font-size: .8em;
    margin: 0;
    padding: 5px 10px;
    overflow: scroll;
}

div.post {
    font-family: 'Segoe UI','Lucida Grande',Verdana;
    font-size: 1em;
    padding: 5px 0px 25px 0px;
    margin: 0 30px 15px 30px;
    word-spacing: 2px;
    line-height: 120%;
}

    div.post a, div.post a:visited {
        text-decoration: underline;
        color: #00f;
    }

        div.post a:hover {
            color: #f00;
        }

        div.post a.category-link {
            background-color: red;
            color: white;
            padding: 2px 4px;
            font-size: 0.8em;
            text-decoration: none;
        }

            div.post a.category-link:hover {
                text-decoration: underline;
            }

div.post-content {
    font-size: 1em;
    padding: 5px 0px;
}

.post-meta {
    color: #f00;
    line-height: 150%;
    padding-bottom: 5px;
    clear: both;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear {
    clear: both;
}

/* styles for 2 column layout */
@media (min-width: 755px) and (max-width: 970px) {
    #page {
        width: 100%;
    }

    #header {
    }

    #headerTitle {
    }

    #headerMenu {
        width: 50%
    }
}

/* styles for single column layout */
@media (max-width: 754px) {
    #page {
        width: 100%;
    }

    #header {
        line-height: 1.8em;
    }

    #headerTitle {
        margin: 0 20px;
        padding-bottom: 20px;
    }

    #headerMenu {
        margin: 0 20px;
        line-height: 120%;
        padding-bottom: 20px;
    }

        #headerMenu ul li {
            padding: 0 8px 0 0;
        }

    div.post ul, div.post ol {
        padding-left: 20px;
    }

    pre.code {
        min-width: 260px;
    }
}
